class <className>
{
public:
(public member data and functions go here)
private:
(private member data and functions go here)
};
// Default behavior of toString() is to print class name, then
// @, then unsigned hexadecimal representation of the hash code
// of the object
public String toString()
{
return getClass().getName() + "@" + Integer.toHexString(hashCode());
}